package com.neu.carbon.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

/**
 * 生产作业物料对象 mes_product_job_material
 * 
 * @author MesProductJob
 * @date 2025-03-26
 */
public class MesProductJobMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 作业编号 */
    @Excel(name = "作业编号")
    private Long jobId;

    /** 物料档案编号 */
    @Excel(name = "物料档案编号")
    private Long materialId;

    /** 消耗数量 */
    @Excel(name = "消耗数量")
    private Long usageQuantity;

    /** 备注 */
    @Excel(name = "备注")
    private String detailRemark;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setJobId(Long jobId) 
    {
        this.jobId = jobId;
    }

    public Long getJobId() 
    {
        return jobId;
    }
    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }
    public void setUsageQuantity(Long usageQuantity) 
    {
        this.usageQuantity = usageQuantity;
    }

    public Long getUsageQuantity() 
    {
        return usageQuantity;
    }
    public void setDetailRemark(String detailRemark) 
    {
        this.detailRemark = detailRemark;
    }

    public String getDetailRemark() 
    {
        return detailRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("jobId", getJobId())
            .append("materialId", getMaterialId())
            .append("usageQuantity", getUsageQuantity())
            .append("detailRemark", getDetailRemark())
            .toString();
    }
}
